package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 属性表
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Attribute对象", description="属性表")
public class Attribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "属性的名称")
    @TableField("attributeName")
    private String attributeName;

    @ApiModelProperty(value = "属性详细描述")
    @TableField("attributeInfo")
    private String attributeInfo;

    @ApiModelProperty(value = "对应的表名称")
    @TableField("tableName")
    private String tableName;

    @ApiModelProperty(value = "对应数据的id")
    @TableField("rowId")
    private Long rowId;


}
